package com.example.smart_lock_app.di

import com.example.smart_lock_app.data.repository.LockRepository
import com.example.smart_lock_app.data.repository.LockRepositoryImpl
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
abstract class AppBindsModule {
    @Binds
    @Singleton
    abstract fun bindLockRepository(
        lockRepositoryImpl: LockRepositoryImpl
    ): LockRepository
}